package com.myh.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: // 自定义配置文件当中的配置项
 * @ClassName: MyThreadPoolPropertiesConfig    // 类名，会自动填充
 * @Author: MYH          // 创建者
 * @Date: 2024/5/27 17:25   // 时间
 * @Version: 1.0     // 版本
 */
@Data
@ConfigurationProperties(prefix = "gulimall.thread")
public class MyThreadPoolPropertiesConfig {

    private Integer coreSize;

    private Integer maxSize;

    private Integer keepAliveTime;

    private Integer capacity;
}
